<script>    
    function loading(){
        document.getElementById('load').style.display = 'block';
    };     
</script>

<div id="load">
    <div id="load_img">  
        <img src="<?= base_url() . "style/loading4.gif"; ?>" alt="loading"/>
        &nbsp;&nbsp;Dáta sa nahrávajú, čakajte prosím.
    </div>
</div>

<div id="mess">
    <?php
    if (isset($mess)) echo $mess;
     
    ?></div>
<div id="form">
    <table>
        <tr><td><h3>Exportovať .ics súbor</h3></td>
        <?php
        $this->form_validation->set_error_delimiters('<span class="error">', '</span>');
        echo form_open_multipart(base_url() . 'user/export');
        /*$pole['0'] = "všetky";
        foreach ($types as $type){ 
            $pole[$type['id']] = $type['event_type']; 
            
            }

        echo "<tr><td>".form_label('Typ exportovaných eventov:', 'typ')."</td><td>".form_dropdown('typ', $pole)."</td></tr>";*/
        
        echo "<td>" . form_submit('submit', 'exportovať', 'class="submit_edit" ') . "</td></tr>";
        
        echo form_close();
        ?> 
    </table> 
</div>
